﻿using MangoMes.Commont.DTOs;
using MediatR;

namespace MangoMes.Write.API.Applications.QRUPCWrite
{
    public class QUCodeUpdateCommand : IRequest<ResultsDTO>
    {
        /// <summary>
        /// 赋码主键
        /// </summary>
        public int QUCodeId { get; set; }
        /// <summary>
        /// 条码格式0-QR二维码，1-UPC条形码
        /// </summary>
        public int QUCodeFormat { get; set; }
        /// <summary>
        /// 条码类型0-物料条码，1-库存条码，2-仓库条码
        /// </summary>
        public int QUCodeType { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string ProductManageName { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string ProductManageNode { get; set; }
        /// <summary>
        /// 状态0-生效，1-失效
        /// </summary>
        public int QUCodeStart { get; set; }
        /// <summary>
        /// 条码内容
        /// </summary>
        public string QUCodeMatter { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string QUCodeRemark { get; set; }
        /// <summary>
        /// 条码
        /// </summary>
        public string BarCode { get; set; }
    }
}
